package com.guigu.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.community.pojo.Merchants;
import com.guigu.community.pojo.Suppliers;
import com.guigu.community.pojo.Users;


import java.util.List;
import java.util.function.Supplier;

public interface UsersMapper extends BaseMapper<Users> {

    //两表：users —— supplier:供应商
    Users listSupplier(Integer sid);

    //两表：users —— merchants:商户
    Users listMerchants(Integer mid);
}
